/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.designpatternspart2.visitorPattern;
/**
 *
 * @author Dwayne
 */
public class TwoElement implements NumberElement
{

    int a;
    int b;

    public TwoElement(int a, int b)
    {
        this.a = a;
        this.b = b;
    }

    @Override
    public void accept(NumberVisitor visitor)
    {
        visitor.visit(this);
    }
}
